package com.nemlistapp;

import android.os.Bundle;
import android.app.Activity;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.Menu;
import android.view.View;
import android.widget.EditText;

public class BlacklistActivity extends Activity {
	
	private EditText searchUser;
	private String searchText; 

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_blacklist);
		searchUser = (EditText)findViewById(R.id.searchUserBlacklistField);;
	}
	
	

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.blacklist, menu);
		return true;
	}
	
	
	
	public void addUserToBlacklist(View view)
	{
		EditText userName = (EditText)findViewById(R.id.searchUserBlacklistField);
		if(userName.length() != 0)
		{
			//Call backend
		}
	}
	
}






